////  SVProgressHUD+HUD.m
//  One
//
//  Created by ADMIN on 2017/3/3.
//  Copyright © 2017年 WQ. All rights reserved.
//

#import "SVProgressHUD+HUD.h"

@implementation SVProgressHUD (HUD)

+ (void)showSVProgressImage:(UIImage *)image Duration:(NSTimeInterval)duration FontSize:(CGFloat)font status:(NSString *)status {
    [SVProgressHUD showImage:image status:status];
    [SVProgressHUD setFont:[UIFont systemFontOfSize:font]];
    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeClear];
    [SVProgressHUD setDefaultStyle:SVProgressHUDStyleDark];
    SVProgressHUD.minimumDismissTimeInterval = duration;
}

+ (void)showSVProgressHUDWithAnimationType:(SVProgressHUDAnimationType)animationType maskType:(SVProgressHUDMaskType)maskType style:(SVProgressHUDStyle)stype status:(NSString *)status {
    [SVProgressHUD showWithStatus:status];
    [SVProgressHUD setDefaultMaskType:maskType];
    [SVProgressHUD setDefaultStyle:stype];
    [SVProgressHUD setDefaultAnimationType:animationType];
}
@end
